package com.mydemo.design_pattern.structure_type.decorator_pattern;

/**
 * <p></p >
 *
 * @author liming1
 * @version $Id: ShapeDecorator, v1.0 2019-09-19 10:56 liming1 Exp $
 */
public abstract class ShapeDecorator implements Shape {
    private Shape shape;

    protected ShapeDecorator(Shape shape) {
        this.shape = shape;
    }

    @Override
    public void draw() {
        shape.draw();
    }

}
